import api from './index'

export function getRewardPunishments(employeeId) {
  return api.get(`/api/employees/${employeeId}/reward_punishments`)
}

export function addRewardPunishment(employeeId, data) {
  return api.post(`/api/employees/${employeeId}/reward_punishments`, data)
}

export function updateRewardPunishment(employeeId, id, data) {
  return api.put(`/api/employees/${employeeId}/reward_punishments/${id}`, data)
}

export function deleteRewardPunishment(employeeId, id) {
  return api.delete(`/api/employees/${employeeId}/reward_punishments/${id}`)
} 